package engine.graphics.sprite
{
	import engine.graphics.*;
	import engine.graphics.renderable.*;
	import engine.graphics.vfx.*;
	import flash.display3D.*;
	
	public class RxSprite3DResources
	{
		private var m_renderable:RxRenderableVertexBuffer;
		private var m_shaderFamily:RxShaderFamilySpriteBaseFX;
		
		public function RxSprite3DResources(param1:Context3D)
		{
			var _loc_3:VertexBuffer3D = null;
			var _loc_5:IndexBuffer3D = null;
			var _loc_2:* = new Vector.<Number>([-0.5, 0.5, 0, 0, 0.5, 0.5, 1, 0, -0.5, -0.5, 0, 1, 0.5, -0.5, 1, 1]);
			_loc_3 = param1.createVertexBuffer(4, 4);
			_loc_3.uploadFromVector(_loc_2, 0, 4);
			var _loc_4:* = new Vector.<uint>([0, 1, 2, 2, 1, 3]);
			_loc_5 = param1.createIndexBuffer(6);
			_loc_5.uploadFromVector(_loc_4, 0, 6);
			this.m_renderable = new RxRenderableVertexBuffer();
			this.m_renderable.SetVertexBuffer(0, new RxVertexBuffer(_loc_3, 0, Context3DVertexBufferFormat.FLOAT_4));
			this.m_renderable.SetIndexBuffer(_loc_5);
			this.m_shaderFamily = null;
		}
	}
}